package com.qujia.station.utils;

import com.alibaba.fastjson.JSON;
import com.qujia.station.domain.vo.YunHuaUserVo;
import lombok.Data;

import java.util.List;

@Data
public class YunHuaBatchSyncUser {


    private List<YunHuaUserVo> ssUserInfoDtos;

    private String platformId;

    private String systemId;

    private String sign;

    private String signType;

    public  String toBeforeRequest(){
        String mm= "{\n" +
                "    \"systemId\": \""+getSystemId()+"\",\n" +
                "    \"platformId\": \""+getPlatformId()+"\",\n" +
                "    \"ssUserInfoDtos\":  \""+getSsUserInfoDtos()+"\",\n" +
                "    \"signType\":  \"SHA256\",\n" +
                "}";

        return  mm;
    }

//    public  String toRequest(){
//        String mm= "{\n" +
//                "    \"systemId\": \""+getSystemId()+"\",\n" +
//                "    \"platformId\": \""+getPlatformId()+"\",\n" +
//                "    \"ssUserInfoDtos\":  \""+ getMobilePhoneList() +"\",\n" +
//                "    \"signType\":  \"SHA256\",\n" +
//                "    \"sign\": \""+getSign()+"\"\n" +
//                "}";
//
//        return  mm;
//    }
}
